package com.xgpro.domain.studycentre.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author tx
 * @version 1.0
 * @date 2019/10/11 21:48
 */
@Data
@Table(name="t_tea")
public class Tea {
    /**
     * 主键id
     */
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 教师职称
     */
    private String jobTitle;

    /**
     * 荣誉称号
     */
    private String honorTitle;

    /**
     * 成就
     */
    private String achievement;

    /**
     * 教龄
     */
    private String teaYear;

    /**
     * 讲师类型
     */
    private Integer teaType;

    /**
     * 导师推荐
     */
    private Integer isGood;

    /**
     * 钉钉id
     */
    @Transient
    private String ddId;
}
